package com.zzz.gp.bean.bo;

/**
 * @author: ZZZ
 * @time: 2021/2/24 15:46
 */

public class CommonBo<T> {

    private String code;         //返回码
    private String message;      //返回描述信息
    private String responseTime; //响应时间
    private String bsn; //业务流水号
    private T result;   //数据

    public CommonBo(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public CommonBo(String code, String message, String bsn) {
        this.code = code;
        this.message = message;
        this.bsn = bsn;
    }

    public CommonBo(String code, String message, String bsn, T result) {
        this.code = code;
        this.message = message;
        this.bsn = bsn;
        this.result = result;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getResponseTime() {
        return responseTime;
    }

    public void setResponseTime(String responseTime) {
        this.responseTime = responseTime;
    }

    public String getBsn() {
        return bsn;
    }

    public void setBsn(String bsn) {
        this.bsn = bsn;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }
}